package types;

public class Sujeto {
	private SujetoSimple left = null;
	private boolean conf = false;
	private SujetoSimple right = null;
	
	public void setLeft(SujetoSimple left) {
		this.left = left;
	}
	public SujetoSimple getLeft() {
		return left;
	}
	public void setConf(boolean conf) {
		this.conf = conf;
	}
	public boolean isConf() {
		return conf;
	}
	public void setRight(SujetoSimple right) {
		this.right = right;
	}
	public SujetoSimple getRight() {
		return right;
	}
	
	public String toString() {
		if (conf) {
			return left.toString() + " " + right.toString();
		}
		return left.toString();
	}
}
